package com.hqyj.pojo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author rock
 * @since 2021-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User extends MyPage implements Serializable {

    private static final long serialVersionUID=1L;
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "user_name")
    private String userName;

    @TableField(value = "pass_word")
    private String passWord;

    @TableField(value = "salt")
    private String salt;

}
